package day20171019.test01;

 class Squar extends Shape{

    public double getArea(){
        return width*height;
    }

    public double getPerimeter(){
        return 2*width+2*height;
    }

    Squar(int x,int y,int width,int height){
        super(x,y,width,height);
    }

}
